<template>
  <div class="app">
    <router-view />
    <div class="tabbar">
    <router-link to="/index/home">首页</router-link>
    <router-link to="/index/baobaotuan">爆爆团</router-link>
    <router-link to="/index/order">订单</router-link>
    <router-link to="/index/mine">我的</router-link>
  </div>
  </div>
    
</template>

<script>
export default {
    
}
</script>

<style>

.app {
  width: 360px;
  height: 600px;
  background-color: #fff;
  margin: 30px auto;
  position: relative;
}
.tabbar{
    width: 100%;
    height: 50px;
    border-top: 1px solid gainsboro;
    position: absolute;
    bottom: 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    
    /* background-color: red; */
}
a{
  color: black;
}
a.router-link-active{
  color: rgb(5, 148, 237);
}
</style>